Extension point presets
In component org.nuxeo.theme.services.ThemeService
Documentation
Extension Point for registering Presets.
Presets are stored in Palettes.
The XML syntax is:
<palette category="category" name="palette name" src="palette source"/>
where: - 'name' is the name of the Palette. - 'src' is the source of the Palette (String) - 'category' is the palette category (optional)
Supported palette types are:
- *.properties (Properties file) - *.aco (Photoshop color palettes) - *.gpl (Gimp palettes)
Contribution Descriptors
- Class: org.nuxeo.theme.presets.PaletteType
Existing Contributions
Contributions are presented in the same order as the registration order on this extension point. This order is displayed before the contribution name, in brackets.
-
<extension point="presets" target="org.nuxeo.theme.services.ThemeService"> <palette category="border" name="Sites borders" src="themes/palettes/sites-borders.properties"/> <palette category="background" name="Sites backgrounds" src="themes/palettes/sites-backgrounds.properties"/> <palette category="font" name="Sites fonts" src="themes/palettes/sites-fonts.properties"/> </extension>
-
<extension point="presets" target="org.nuxeo.theme.services.ThemeService"> <palette category="border" name="Sites borders" src="themes/palettes/sites-borders.properties"/> <palette category="background" name="Sites backgrounds" src="themes/palettes/sites-backgrounds.properties"/> <palette category="font" name="Sites fonts" src="themes/palettes/sites-fonts.properties"/> </extension>